package com.meitianhui.convenitenbuy.module.order.contract;

import com.meitianhui.convenitenbuy.base.BasePresenter;
import com.meitianhui.convenitenbuy.base.BaseView;
import com.meitianhui.convenitenbuy.module.order.model.bean.OrderInfo;

/**
 * Created by Administrator on 2017/11/1.
 */

public interface EdinburghTypeOrderContract {

    interface View extends BaseView<Presenter> {

        void getOrderSuccess(OrderInfo orderInfo);

        void getOrderFail(int code, String msg);

        void orderOperationSuccess();

        void orderOperationFail(int code, String msg);

    }

    interface Presenter extends BasePresenter {

        void getOrder(String service, String pageIndex, String pageSize, String memberKey, String status);

        void orderOperation(String orderId, String server, String remark, String externalOrderNo, String dataSource);

    }
}
